package com.lanyun.oss.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 文件表，用于存储文件的基本信息(File)实体类
 *
 * @author makejava
 * @since 2025-03-16 15:28:49
 */
public class File implements Serializable {
    private static final long serialVersionUID = -63302435089380122L;
    /**
     * 文件ID，主键
     */
    private Long id;
    /**
     * 文件名称
     */
    private String fileName;
    /**
     * 文件类型（如：doc, pdf, jpg等）
     */
    private String fileType;
    /**
     * 文件大小（单位：字节）
     */
    private Integer fileSize;
    /**
     * 文件存储路径
     */
    private String filePath;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdTime;
    /**
     * 修改人
     */
    private String updatedBy;
    /**
     * 修改时间
     */
    private Date updatedTime;
    /**
     * 是否删除
     */
    private String isDeleted;
    /**
     * 文件详情类型 - banner轮播图/pic产品图
     */
    private String detailType;
    /**
     * 产品Id
     */
    private String productId;
    /**
     * 是否为首页轮播图（enabled/disabled）
     */
    private String isBanner;
    /**
     * 排序字段（用于轮播图和详情图的展示顺序）
     */
    private Integer sortOrder;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Integer getFileSize() {
        return fileSize;
    }

    public void setFileSize(Integer fileSize) {
        this.fileSize = fileSize;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getDetailType() {
        return detailType;
    }

    public void setDetailType(String detailType) {
        this.detailType = detailType;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getIsBanner() {
        return isBanner;
    }

    public void setIsBanner(String isBanner) {
        this.isBanner = isBanner;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

}

